package com.itbaizhan.openhis.service;

import com.itbaizhan.openhis.domain.Producer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itbaizhan.openhis.dto.ProducerDto;
import com.itbaizhan.openhis.vo.DataGridView;

/**
 *
 */
public interface ProducerService extends IService<Producer> {

    DataGridView listProducerForPage(ProducerDto producerDto);

    int addProducer(ProducerDto producerDto);

    int updateProducer(ProducerDto producerDto);

    Producer getOne(Long producerId);

    int deleteProducerByIds(Long[] producerIds);
}
